﻿<Grid x:Class="SUMO.MediaBrowser.Controls.Adorners.Frames.AnimatedRectangleFrame"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400"
             xmlns:system="clr-namespace:System;assembly=mscorlib">
    <Grid.Resources>
        <Storyboard x:Name="animDashes" x:Key="animDashes" RepeatBehavior="Forever">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="rectAdornerFrame" Storyboard.TargetProperty="(Shape.StrokeDashOffset)">
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.00" Value="6" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.10" Value="5.5" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.20" Value="5" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.30" Value="4.5" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.40" Value="4" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.50" Value="3.5" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.60" Value="3" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.70" Value="2.5" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.80" Value="2" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.90" Value="1.5" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:01.00" Value="1" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:01.10" Value="0.5" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:01.20" Value="0" />
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="rectAdornerFrame1" Storyboard.TargetProperty="(Shape.StrokeDashOffset)">
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.00" Value="9" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.10" Value="8.5" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.20" Value="8" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.30" Value="7.5" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.40" Value="7" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.50" Value="6.5" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.60" Value="6" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.70" Value="5.5" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.80" Value="5" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:00.90" Value="4.5" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:01.00" Value="4" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:01.10" Value="3.5" />
                <DiscreteDoubleKeyFrame KeyTime="00:00:01.20" Value="3" />
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </Grid.Resources>
    <Rectangle Margin="-1" Stroke="#ff333333" StrokeThickness="1" x:Name="rectAdornerFrame">
        <Shape.StrokeDashArray>
            <system:Double>3</system:Double>
            <system:Double>3</system:Double>
        </Shape.StrokeDashArray>
    </Rectangle>
    <Rectangle Margin="-1" Stroke="#FFdddddd" StrokeThickness="1" x:Name="rectAdornerFrame1">
        <Shape.StrokeDashArray>
            <system:Double>3</system:Double>
            <system:Double>3</system:Double>
        </Shape.StrokeDashArray>
    </Rectangle>
</Grid>
